<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});




Route::get('user/scan', 'UserController@scan');
Route::get('user/view','UserController@view');
Route::get('access/view','UserController@access_view');
Route::get('now/view','UserController@now_view');
Route::get('analysis/view','UserController@analysis_view');
Route::get('user/add', 'UserController@add_user');

Route::post('user/login', 'UserController@login');
Route::get('user/logout', 'UserController@logout');
Route::get('user/status', 'UserController@status');
Route::post('user/info', 'UserController@user_info');